<?php
    echo $this->Form->create('Account');
    if(!empty($this->Form->value('Account.id'))){
        echo  $this->Form->input('id');
    }
    
?>
    <div class="panel-body">
        <div class="row mb20">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="control-label text-bold">Nome:</label>
                    <?php echo $this->Form->input('name',array("class"=>"form-control","label"=>false,"div"=>false)); ?>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="control-label text-muted">Descrição:</label>
                    <?php echo $this->Form->input('descricao',array("class"=>"form-control","label"=>false,"div"=>false)); ?>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-footer">
        <?php echo $this->Form->button('Confirmar',array("class"=>"btn btn-primary")) ?>
        <?php echo $this->Html->link('Cancelar',array('controller'=>$this->params['controller'],'action'=>'/'),array("class"=>"btn btn-default")) ?>
    </div>
<?php
    $this->Form->end();
